Long Procedures & Registry Keys =============================== WinXP Registry switch (first try Last Known Good Configuration): |Boot to ERD Commander, or DOS prompt with NTFSPRO |Rename \Windows\System32\config\SAM, SOFTWARE, SYSTEM, and SECURITY |CD "System Volume Information", CD _resto~1 |Find the Registry backup you want (by date) |CD snapshot |Copy _REGISTRY_MACHINE_SAM \Windows\System32\config\SAM |Copy _REGISTRY_MACHINE_SOFTWARE \Windows\System32\config\SOFTWARE |Copy _REGISTRY_MACHINE_SYSTEM \Windows\System32\config\SYSTEM |Copy _REGISTRY_MACHINE_SECURITY \Windows\System32\config\SECURITY Fix Vista boot configuration: |(fixmbr, fixboot) |bootcfg /list, bootcfg /rebuild |"Add to boot list?" Y |"Enter Load Identifier" Name of OS, Enter |"Enter OS Load Options" /fastdetect, Enter |Exit |fixboot Vista boot error: |Error occurred while attempting to read the boot configuration data. |bootrec /rebuildbcd |KB927392, 927391 |bcedit /export c:\BCD_Backup |c: |cd boot |attrib bcd -s -h -r |ren c:\boot\bcd bcd.old |bootrec /RebuildBcd How to block Firefox Flash popups |http://www.tuxfiles.org/linuxhelp/firefox-popups.html |about:config > New -> Integer > privacy.popups.disable_from_plugins > Set the value to 2 |0 = Allow all popups from plugins. |1 = Allow popups from plugins, but limit the number of popups to dom.popup_maximum |2 = Block popups from plugins. |3 = Block all popups from plugins, even on whitelisted sites. |If using 1 above, set dom.popup_maximum to a low number, such as 2. The default value in Firefox is 20. Take ownership of files |http://support.microsoft.com/kb/929833 |If the System File Checker tool cannot repair a file, follow these steps: |1. At an elevated command prompt, type the following command, and then press ENTER: | takeown /f Path_And_File_Name | For example, type takeown /f E:\windows\system32\jscript.dll. |2. Type the following command, and then press ENTER to grant administrators full access to the file: | icacls Path_And_File_Name /GRANT ADMINISTRATORS:F | For example, type icacls E:\windows\system32\jscript.dll /grant administrators:F. |3. Type the following command to replace the file with a known good copy of the file: | Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of_Destination | For example, type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll. ADS Info |ADS: Alternate Data Streams. Example: |echo conventional > aFile.txt |echo an alternate > aFile.txt:anAlt |echo another one > aFile.txt:another1 |more < aFile.txt |[output] conventional |more < aFile.txt:anAlt |[output] an alternate |more < aFile.txt:another1 |[output] another one |more < aFile.txt:nonExistent |[output] The system cannot find the file specified. |dir |[output] aFile.txt, 15 bytes [ADS not reported in size] List of programs that appear in Add/Remove Programs: |HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall Non-deletable items on Desktop, e.g. Sign up for MSN: |HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\ Reinstall MSOE6/MSIE6: find IE6 or OE6, set IsInstalled to 0 |HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\ Default path to Outlook Express message store: |9x: C:\WINDOWS\Application Data\Identities\{SOME GUID}\Microsoft\Outlook Express |XP: C:\Documents and Settings\(USER)\Local Settings\Application Data\Identities\{SOME GUID}\Microsoft\Outlook Express Registry Key that keeps the path to the message store: |HKEY_CURRENT_USER\Identities\{SOME GUID}\Software\Microsoft\Outlook Express\5.0\Store Root Default path to Address Book: |9x: C:\WINDOWS\Application Data\Microsoft\Address Book |XP: C:\Documents and Settings\(USER)\Application Data\Microsoft\Address Book Registry Key that keeps the path to the Address Book: |HKEY_CURRENT_USER\Software\Microsoft\WAB\WAB4\Wab File Name My Documents Location: |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\explorer\ShellFolders\Personal |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\explorer\UserShellFolders\Personal Hide or show My Documents on Desktop: |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\explorer\Documents\HideMyDocsFolder : "" {null value} List of programs that start up automatically: |(MSCONFIG.EXE is not available in Windows 95, NT, or 2000) |HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run |HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce |HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce |etc. |C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup |C:\Users\username\Appdata\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |(Don't forget AUTOEXEC.BAT & SYSTEM.INI) Items unchecked in MSCONFIG move to keys like this: |HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run- (Win98) |HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig (WinXP) Policies |HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\ |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ |HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\System |HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon